<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AtkObjectFactory</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="ATK - Accessibility Toolkit">
<link rel="up" href="atk.html" title="ATK Library">
<link rel="prev" href="AtkObject.html" title="AtkObject">
<link rel="next" href="AtkRegistry.html" title="AtkRegistry">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="atk.html" title="ATK Library">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in ATK 1.3">
<link rel="index" href="ix04.html" title="Index of new symbols in ATK 1.4">
<link rel="index" href="ix05.html" title="Index of new symbols in ATK 1.6">
<link rel="index" href="ix06.html" title="Index of new symbols in ATK 1.9">
<link rel="index" href="ix07.html" title="Index of new symbols in ATK 1.12">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="AtkObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="atk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">ATK - Accessibility Toolkit</th>
<td><a accesskey="n" href="AtkRegistry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#AtkObjectFactory.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#AtkObjectFactory.description" class="shortcut">Description</a>
                   | 
                  <a href="#AtkObjectFactory.object-hierarchy" class="shortcut">Object Hierarchy</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="AtkObjectFactory"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="AtkObjectFactory.top_of_page"></a>AtkObjectFactory</span></h2>
<p>AtkObjectFactory — The base object class for a factory used to create accessible objects for 
objects of a specific GType.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="AtkObjectFactory.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
                    <a class="link" href="AtkObjectFactory.html#AtkObjectFactory-struct" title="AtkObjectFactory">AtkObjectFactory</a>;
<a class="link" href="AtkObject.html" title="AtkObject">AtkObject</a>*          <a class="link" href="AtkObjectFactory.html#atk-object-factory-create-accessible" title="atk_object_factory_create_accessible ()">atk_object_factory_create_accessible</a>
                                                        (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory,
                                                         <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *obj);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>               <a class="link" href="AtkObjectFactory.html#atk-object-factory-get-accessible-type" title="atk_object_factory_get_accessible_type ()">atk_object_factory_get_accessible_type</a>
                                                        (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);
void                <a class="link" href="AtkObjectFactory.html#atk-object-factory-invalidate" title="atk_object_factory_invalidate ()">atk_object_factory_invalidate</a>       (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="AtkObjectFactory.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----AtkObjectFactory
         +----<a class="link" href="AtkNoOpObjectFactory.html" title="AtkNoOpObjectFactory">AtkNoOpObjectFactory</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="AtkObjectFactory.description"></a><h2>Description</h2>
<p>
This class is the base object class for a factory used to create an 
accessible object for a specific GType. The function 
<a class="link" href="AtkRegistry.html#atk-registry-set-factory-type" title="atk_registry_set_factory_type ()"><code class="function">atk_registry_set_factory_type()</code></a> is normally called to store 
in the registry the factory type to be used to create an accessible of a
particular GType.
</p>
</div>
<div class="refsect1" lang="en">
<a name="AtkObjectFactory.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="AtkObjectFactory-struct"></a><h3>AtkObjectFactory</h3>
<pre class="programlisting">typedef struct _AtkObjectFactory AtkObjectFactory;</pre>
<p>
The AtkObjectFactory structure should not be accessed directly.

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="atk-object-factory-create-accessible"></a><h3>atk_object_factory_create_accessible ()</h3>
<pre class="programlisting"><a class="link" href="AtkObject.html" title="AtkObject">AtkObject</a>*          atk_object_factory_create_accessible
                                                        (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory,
                                                         <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *obj);</pre>
<p>
Provides an <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> that implements an accessibility interface 
on behalf of <em class="parameter"><code>obj</code></em></p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>factory</code></em> :</span></p></td>
<td> The <a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory"><span class="type">AtkObjectFactory</span></a> associated with <em class="parameter"><code>obj</code></em>'s
object type
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> an <a class="link" href="AtkObject.html" title="AtkObject"><span class="type">AtkObject</span></a> that implements an accessibility interface
on behalf of <em class="parameter"><code>obj</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="atk-object-factory-get-accessible-type"></a><h3>atk_object_factory_get_accessible_type ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>               atk_object_factory_get_accessible_type
                                                        (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);</pre>
<p>
Gets the GType of the accessible which is created by the factory.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>factory</code></em> :</span></p></td>
<td> an <a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory"><span class="type">AtkObjectFactory</span></a> 
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the type of the accessible which is created by the <em class="parameter"><code>factory</code></em>.
The value G_TYPE_INVALID is returned if no type if found.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="atk-object-factory-invalidate"></a><h3>atk_object_factory_invalidate ()</h3>
<pre class="programlisting">void                atk_object_factory_invalidate       (<a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory">AtkObjectFactory</a> *factory);</pre>
<p>
Inform <em class="parameter"><code>factory</code></em> that it is no longer being used to create
accessibles. When called, <em class="parameter"><code>factory</code></em> may need to inform
<span class="type">AtkObjects</span> which it has created that they need to be re-instantiated.
Note: primarily used for runtime replacement of <span class="type">AtkObjectFactorys</span>
in object registries.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>factory</code></em> :</span></p></td>
<td> an <a class="link" href="AtkObjectFactory.html" title="AtkObjectFactory"><span class="type">AtkObjectFactory</span></a> to invalidate
</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="AtkObjectFactory.see-also"></a><h2>See Also</h2>
<p>
AtkRegistry

</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.10</div>
</body>
</html>
